package com.jazz.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Inherited
@Target( { ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface CustomAnnotation {
	String value();
	String color() default "red";
	int[] arr() default {1,2,3};
	Traffic lamp() default Traffic.RED;
	MetaAnnotation meta() default @MetaAnnotation("meta");
	Class clazz() default CustomAnnotation.class;
}
